{% extends 'iwebkit/index.html' %}

{% block title %}{{ title }}{% endblock %}

{% block topbar %}
<div id="title">{{ title }}</div>
<div id="rightbutton"><a href="">版面</a></div>
{% endblock %}

{% block content %}
<span class="graytitle">{{ sub_title }}</span>
<ul class="pageitem">
    <li class="textbox"><p></p></li>
    {% for thread in threads %}
    <li class="menu">
        <a href="/w/post/?board_name={{ thread.board_name }}&board_id={{ thread.board_id }}&post_id={{ thread.thread_id }}">
            <span class="name">{{ thread.title }}</span>
            <span class="comment">
                <span class="author">{{ thread.author }}</span>@
                <span class="board_name">{{ thread.board_name }}</span>
            </span>
            <span class="arrow"></span>
        </a>
    </li>
    <!--
    <li class="store">
		<a class="noeffect" href="/w/tposts/?bn={{ thread.board_name }}&tid={{ thread.thread_id }}">
            <span class="comment">{{ thread.board_name }}</span>
            <span class="name">{{ thread.title }}</span>
            <span class="starcomment">{{ thread.author }}</span>
            <span class="arrow"></span>
        </a>
    </li>
    -->
    {% endfor %}
</ul>
{% endblock %}